﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Dtos
{
    public class PermissionDto:MenuBaseDto
    {
        //public PermissionDto(int id, int pId, int level, bool isPermission, int sort) : base(id, pId, level, isPermission, sort)
        //{
        //}

        
        

        private string _permissionKey;

        public string PermissionKey
        {
            get { return _permissionKey; }
            set { _permissionKey = value; OnPropertyChanged(); }
        }


        private string _parentName;

        public string ParentName
        {
            get { return _parentName; }
            set { _parentName = value; OnPropertyChanged(); }
        }

        private bool _isCheck;

        public bool IsCheck
        {
            get { return _isCheck; }
            set { _isCheck = value; OnPropertyChanged(); }
        }
    }
}
